package application;

import javafx.fxml.FXML;

import javafx.scene.control.Button;

import javafx.scene.control.TextField;
import cn.edu.scau.cmi.leon.*;
;
public class MyControllerLab4 {
	@FXML
	private TextField f1;
	@FXML
	private TextField f2;
	@FXML
	private TextField f3;
	@FXML
	private Button b;
	
	@FXML
	private void eventbutton(){
		adapter_volmeter vo = new adapter_volmeter();
		vo.vv.setValue(f1.getText());
		vo.chargeValue(f2.getText());
		f3.setText(vo.vv.getValue());
	}

}
